package com.tuanzi.loan.business.service.family;

import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.family.SwitchListSearchRequest;
import com.tuanzi.loan.vo.request.family.SwitchRank;
import com.tuanzi.loan.vo.response.family.SwitchListSearchResponse;
import com.tuanzi.loan.vo.view.family.SwitchInfoView;
import org.springframework.data.domain.Page;

import java.util.HashMap;
import java.util.List;

public interface SwitchService {
	Page<SwitchListSearchResponse> list(PageSearcher<SwitchListSearchRequest> pageSearcher, HashMap<String, SwitchRank> switchRankMap);

	List<String> findBy(SwitchInfoView switchInfo);

	void openSwitch(SwitchInfoView switchInfo);
}
